pygame collisions

24

def is_collided_with(self, sprite):
    return self.rect.colliderect(sprite.rect)

Comments

Submit
0 Comments